{extend name="base"/}
{block name="css"}
 <style>

	.layui-input-inline button {
	    width: 100px;
	    height: 36px;
	    background: #009688;
	    border: none;
	    color: #fff;
	    cursor: pointer;
	    margin-top: 9px;
	}
</style>
{/block}
{block name="content"}

<div style="padding: 15px;">
	<fieldset class="layui-elem-field">
		<legend>商城管理 - 商家入驻</legend>
		<div class="layui-field-box">
		  <form class="layui-form" action="">
			<div class="layui-input-inline">
			<input type="text" class="layui-input searchVal" name="keyword" id="demoReload" placeholder="请输入商家id" >
			</div>
			<div class="layui-input-inline">
			<select name="status" class="layui-input searchVal" id="demoReload2">
				<option value=""  >请选择审核状态</option>
				<option value="1"  >未审核</option>
				<option value="2"  >已审核</option>
				<option value="3"  >审核失败</option>
			</select>
		</div>
			<a class="layui-btn search_btn"  data-type="reload">搜索</a>
		  </form>
		  <hr>
		  <table id="list" lay-filter="business" ></table>
		</div>
	</fieldset>
  </div>


  <button class="h_right protocolAdd_btn" data-id="{$protocol.id}">入驻协议</button>


<script type="text/html" id="toolbar">
  <div class="layui-btn-container">
    <button class="layui-btn layui-btn-normal layui-btn-sm add" data-id="{$protocol.id}">入驻协议</button>
  </div>
</script>
<script type="text/html" id="titleTpl">
	<img src="{{d.head_img}}" width="80px"/>
</script>
<script type="text/html" id="barDemo">
	<a class="layui-btn layui-btn-xs" lay-event="edit">审核</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
{/block}
{block name="js"}
<script type="text/javascript" src="__ADMIN__/js/businessList.js?t=123"></script>
{/block}